﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class pagina_maestra_admin : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
   
    protected void enlace_cerrar_sesion_Click1(object sender, EventArgs e)
    {
	    Response.Cookies["cookie_usr"].Expires = DateTime.Now.AddDays(-1);
	    Response.Cookies["cookie_contr"].Expires = DateTime.Now.AddDays(-1);

	    this.Session.Abandon();

	    Response.Redirect("ingreso.aspx", true);
    }
}
